home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
Timing
/
clocktool.lha
/
ClockTool
/
ClockTool_protos.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-11-06
|
2KB
|
127 lines
/* Prototypes for functions defined in
ClockTool.c
*/
extern char A_vers[31];
extern LIBRARY * UtilityBase;
extern LIBRARY * BattClockBase;
extern TIMEVAL tv_sysclock;
extern TIMEVAL tv_battclock;
extern TIMEVAL tv_tmp;
extern DATESTAMP dss_sysclock;
extern DATESTAMP dss_battclock;
extern DATETIME datetime;
extern char * date_ptr;
extern char * time_ptr;
extern LONG adjust;
extern LONG temp;
extern MSGPORT * TimeP;
extern TIMERREQUEST * Timermsg;
extern IOREQUEST * Timer;
extern BOOL a_flag;
extern BOOL b_flag;
extern BOOL d_flag;
extern BOOL l_flag;
extern BOOL L_flag;
extern BOOL n_flag;
extern BOOL s_flag;
extern BOOL t_flag;
extern char buf[80];
extern char * xstr;
extern int opt_count;
extern char * logfile;
extern FILE * fp;
extern char log_buf[80];
extern DM days_month[12];
void main(int , char ** );
void tv2dss(TIMEVAL * , DATESTAMP * );
char * tv2str(TIMEVAL * );
void dss2tv(DATESTAMP * , TIMEVAL * );
void dss2str(DATESTAMP * , char * );
BOOL str2dss(char * , DATESTAMP * );
BOOL Init_Timer(void);
void hexit(int );
void DeleteTimer(TIMERREQUEST * );
LONG tv_diff(TIMEVAL * , TIMEVAL * );
char * tv_diff_str(TIMEVAL * , TIMEVAL * );
char * format_diff_str(LONG , char * );
void set_system_time(TIMEVAL * );
void get_system_time(TIMEVAL * );
void get_battclock_time(TIMEVAL * );
void set_battclock_time(TIMEVAL * );
void tv_update(TIMEVAL * , LONG );
BOOL check4battclock(void);
void get_syncd_battclock_time(TIMEVAL * );
void get_syncd_system_time(TIMEVAL * );
void print_clock(char * , TIMEVAL * , char * );
void display_clocks(TIMEVAL * , TIMEVAL * );
void adjust_clock(LONG , TIMEVAL * );
void print_old_new(char * , TIMEVAL * , TIMEVAL * );
LONG set_system_time_to_syncd_battclo(void);
LONG set_battclock_time_to_syncd_syst(void);
void wait_for_timer(TIMERREQUEST * , TIMEVAL * );
void pause(int );
void scan_args(int , char ** );
void usage(char * );